import { Controller, Get } from '@nestjs/common';
import { CommonService } from './common.service';
import { UtilsService } from '@app/utils';

@Controller('common')
export class CommonController {
    constructor(
        private service:CommonService,
        private utils:UtilsService
    ){}

    @Get('charge/template')
    async chargeTemplate() {
        const r = await this.service.queryChargeTemplate()
        return this.utils.successRes(r)
    }
}
